package com.ctshk.rpc.order.custom.req.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 操作退款req
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-03-01
 */
@Data
@ApiModel(value="操作退款req", description="操作退款req")
public class CustomOrderTouristQuitConfirmReq implements Serializable {

    @NotNull(message = "退团ID不能为空")
    @ApiModelProperty(value = "退团ID",required = true)
    private Long id;

    @NotNull(message = "审批实例Id不能为空")
    @ApiModelProperty(value = "审批实例Id",required = true)
    private Long approvalId;

    @NotNull(message = "审批状态不能为空")
    @ApiModelProperty(value = "审批状态（0：撤回，3：审批不通过，4：审批通过）",required = true)
    private Integer approvalStatus;

    @ApiModelProperty(value = "备注")
    private String comments;

    @NotNull(message = "订单ID不能为空")
    @ApiModelProperty(value = "订单ID",required = true)
    private Long orderId;

    @NotNull(message = "团期ID不能为空")
    @ApiModelProperty(value = "团期ID",required = true)
    private Long scheduleId;

    @NotNull(message = "游客ID不能为空")
    @ApiModelProperty(value = "游客ID",required = true)
    private Long touristId;

    @ApiModelProperty(value = "用户Id")
    private Long userId;
}
